from django.conf.urls.defaults import *
from django.contrib.auth.decorators import login_required
from accounts.views import DashboardView

urlpatterns = patterns(
    "accounts.views"
    , (r"^$", "profile")
    , (r"^dashboard/", login_required(DashboardView.as_view()))
    , (r"^profile/$", "profile")
    , (r"^changepassword/$", "changepassword")
    , (r"^login/", "login")
    , (r"^logout/$", "dologout")
    , (r"^denied/$", "denied")
)
